export default {
  path: '/service/{app}/pf/rdbs',
  queryKey: [],
  fields: [{
    code: 'code',
    type: 'code',
    name: '编码',
    reuqire: true
  }, {
    code: 'name',
    type: 'code',
    name: '名称',
    reuqire: true
  }, {
    code: 'url',
    type: 'code',
    name: '地址',
    reuqire: true
  }, {
    code: 'username',
    type: 'code',
    name: '用户名',
    reuqire: true
  }, {
    code: 'password',
    type: 'password',
    name: '密码',
    listpos: false
  }, {
    code: 'memo',
    type: 'memo',
    name: '备注'
  }],
  actions: [{
    name: '添加',
    type: 'add',
    code: 'add',
    param: {
      pathSubmit: 'service/{app}/pf/rdb'
    }
  }, {
    name: '编辑',
    type: 'edit',
    code: 'edit',
    param: {
      pathSubmit: 'service/{app}/pf/rdb'
    },
    locate: 'inline'
  }, {
    name: '连接测试',
    type: 'process',
    code: 'connect',
    path: 'service/{app}/pf/rdb/eval/{code}',
    locate: 'inline'
  }, {
    name: '实体预览',
    type: 'dsView',
    code: 'dsView',
    locate: 'inline'
  }, {
    name: '删除',
    code: 'delete',
    type: 'process',
    icon: 'trash-b',
    path: '/service/{app}/pf/rdb',
    scope: 'rows'
  }, {
    name: '用户数据',
    code: 'userData',
    type: 'drill',
    path: '/service/dw/bill/model/s1',
    locate: 'inline'
  }]
}
